<template>
    <cl-button @click="showMessage">点击</cl-button>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import {ClMessage} from '@cl-ui-plus/components'
export default defineComponent({
    setup() {
        const showMessage = () => {
            ClMessage({
                message:'测试',
                center:true,
                type:'success'
            })
        }
        return {
            showMessage
        }
    },

})
</script>
